package com.rules.admin.entity;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import java.io.Serializable;
import java.util.Date;


import com.gillion.grule.client.core.DataType;
import com.rules.admin.json.Long2String;
import com.rules.admin.json.String2Long;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

@Data
@TableName(
         "rul_uc_param"
)
public class UnitCaseParam implements Serializable {
    @JsonSerialize(
            using = Long2String.class
    )
    @JsonDeserialize(
            using = String2Long.class
    )
    @TableId
    private Long id;
    @JsonSerialize(
            using = Long2String.class
    )
    @JsonDeserialize(
            using = String2Long.class
    )

    private Long unitCaseId;

    private String createrId;

    private Date createTime;

    private String updaterId;

    private String param;

    private String paramName;
    @JsonSerialize(
            using = Long2String.class
    )
    @JsonDeserialize(
            using = String2Long.class
    )

    private Long parentId;
    private DataType dataType;
    private String remark;
    private static final long serialVersionUID = 1L;

    public UnitCaseParam() {
    }

}
